<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-applyInfo-edit" th:object="${applyInfo}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">被申请用户id：</label>
                <div class="col-sm-8">
                    <input id="appliedUserId" name="appliedUserId" th:field="*{appliedUserId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">申请用户id：</label>
                <div class="col-sm-8">
                    <input id="applyUserId" name="applyUserId" th:field="*{applyUserId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">申请信息：</label>
                <div class="col-sm-8">
                    <input id="applicationInformation" name="applicationInformation" th:field="*{applicationInformation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">添加状态：0-申请中 1-接受  2-拒绝 3- 忽略：</label>
                <div class="col-sm-8">
                    <input id="operate" name="operate" th:field="*{operate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">创建时间：</label>
                <div class="col-sm-8">
                    <input id="gmtCreate" name="gmtCreate" th:field="*{gmtCreate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">更新时间：</label>
                <div class="col-sm-8">
                    <input id="gmtModified" name="gmtModified" th:field="*{gmtModified}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">是否逻辑删除：1-删除，0-未删除：</label>
                <div class="col-sm-8">
                    <input id="isDeleted" name="isDeleted" th:field="*{isDeleted}" class="form-control" type="text">
                </div>
            </div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/applyInfo"
		$("#form-applyInfo-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-applyInfo-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
